package com.mmww.swagger2.apimodel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author verber.hu
 * @title: UserModel
 * @projectName swagger2
 * @description: TODO
 * @date 2019/08/14 11:35
 */
@ApiModel(value="user对象",description="用户对象user")
public class ApiUser implements Serializable {

    private static final long serialVersionUID = 1L;

    //@TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "用户ID",example = "1000001",hidden=true)
    private Long id;

    @ApiModelProperty(value="用户名",required = true,dataType = "String")
    private String userName;

    @ApiModelProperty(value = "密码")
    private String password;
}
